#
def rev(list):
    return list[-1::-1]
print(rev([1,2,3]))